efi_memory: do parameter checks first
author[email protected] <[email protected]>
Fri, 21 Jul 2017 17:04:33 +0000 (19:04 +0200)
committerAlexander Graf <[email protected]>
Mon, 24 Jul 2017 12:46:01 +0000 (14:46 +0200)
commit0ecba5db85fb566bcbb3ba96fda85f26f78be22d
tree6918a5d1fc64ea26811702c940989aa63fb14360
parentca9193d2b163cd274144edddd29be20cdb5f99a3
efi_memory: do parameter checks first

The parameter checks should be done first.

Signed-off-by: Heinrich Schuchardt <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
lib/efi_loader/efi_memory.c